package com.chart.framework.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 合并OSS配置
 */
@Data
@Component
public class OssConfig {


    @Value("${aliyun.oss2.endpoint}")
    private String endpoint;

    @Value("${aliyun.oss2.accessKeyId}")
    private String accessKeyId;

    @Value("${aliyun.oss2.accessKeySecret}")
    private String accessKeySecret;

    @Value("${aliyun.oss2.bucketName}")
    private String bucketName;


    @Value("${aliyun.oss2.customDomain:}")
    private String customDomain;
}
